<div ng-controller="MiniCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/mini/list">{{'列表'|translate}}</a></li>
        <li class="active">
            {{"用户列表"|translate}}
        </li>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'店面照片'|translate}}</th>
                <th>{{'营业执照照片'|translate}}</th>
                <th>{{'师傅名称'|translate}}</th>
                <th>{{'锁店名称'|translate}}</th>
                <th>{{'手机号码'|translate}}</th>
                <th>{{'店铺地址'|translate}}</th>
                <th>{{'审核状态'|translate}}</th>
                <th>{{'状态'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in users">
                <td>
                    <img ng-src="{{list.mendian_image}}" class="item-image">
                </td>
                <td>
                    <img ng-src="{{list.zhizhao_image}}" class="item-image">
                </td>
                <td>
                    {{list.name}}
                </td>
                <td>{{list.shop_name}}</td>
                <td>{{list.mobile}}</td>
                <td>{{list.address}}</td>
                <td>
                    <span ng-show="list.check ==1" class="sui-text-info">未审核</span>
                    <span ng-show="list.check ==2" class="sui-text-success">审核通过</span>
                    <span ng-show="list.check ==3" class="sui-text-danger">审核失败</span>
                </td>
                <td>
                    <button ng-show="list.mini_store_id && list.status==2" type="button" class="sui-btn btn-success" ng-click="StatusUpdate(1,list.mini_store_id,'status')">{{'激活'|translate}}</button>
                    <button ng-show="list.mini_store_id && list.status==1" type="button" class="sui-btn btn-danger" ng-click="StatusUpdate(2,list.mini_store_id,'status')">{{'禁用'|translate}}</button>
                    <a href="#/mini/info?mini_store_id={{list.mini_store_id}}" class="sui-btn btn-primary">{{'详情' | translate}}</a>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="{{pageNo}}" page-size="pageSize" total="total_count" get-data="getlist(pageNo)"></pager>
    <!-- 分页end -->
</div>